package com.ruoyi.quartz.task;

import cn.hutool.json.JSON;
import cn.hutool.json.JSONObject;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.swla2.domain.PressureConfiguration;
import com.ruoyi.swla2.service.IPressureConfigurationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
* @Description: 定时任务调度
* @date: 2025/2/27 09:03
* @author: zt
*/
@Component("swlaTask")
public class SwlaTask
{


    @Autowired
    private IPressureConfigurationService pcService;

    /**
    * @Description: 多表压差报警
    * @date: 2025/2/27 09:00
    * @author: zt
    */
    public void multiMonitorWarn(Integer minutes){
        pcService.initMultiMonitorWarn(minutes);
    }
}
